package com.example.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 登录响应数据对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "登录响应数据")
public class LoginVO {
    
    /**
     * JWT令牌
     */
    @Schema(description = "JWT令牌")
    private String token;
    
    /**
     * 用户ID
     */
    @Schema(description = "用户ID")
    private Integer id;
    
    /**
     * 用户名
     */
    @Schema(description = "用户名")
    private String username;
    
    /**
     * 姓名
     */
    @Schema(description = "姓名")
    private String name;
} 